<HTML>
<HEAD><TITLE>Residency Page</TITLE></HEAD>
<BODY>
<%
session.setAttribute("street",request.getAttribute("street"));
session.setAttribute("city",request.getAttribute("city"));
if(session.getAttribute("residence").equals("United States"))
{		
	session.setAttribute("state",request.getAttribute("state"));
}
else
{
	session.setAttribute("code",request.getAttribute("code"));
}
session.setAttribute("zipCode",request.getAttribute("zipCode"));
session.setAttribute("areaCode",request.getAttribute("areaCode"));
session.setAttribute("number",request.getAttribute("number"));
%>
User Name : <%= session.getAttribute("fullName")%> <p>
Citizenship : <%=session.getAttribute("country")%> <p>
Country of Residence : <%=session.getAttribute("residence")%> <p>
Address : <p>
Street : <%=session.getAttribute("street")%><p>
City : <%=session.getAttribute("city")%><p>
<% if(session.getAttribute("residence").equals("United States"))
	out.println("State : " + request.getParameter("state") + "<br>");
	else
	out.println("Telephone Code : " + request.getParameter("code") + "<br>");
%>
<p>
Zip Code : <%=session.getAttribute("zipCode")%><p>
Phone Number : <%=session.getAttribute("areaCode")%>-<%=session.getAttribute("number")%><p>

Please choose your residency status : 
<FORM METHOD=GET ACTION="/admission/protected/students/location.jsp">
<INPUT TYPE="RADIO" NAME="residency" value="US Permanent Resident" checked>
US Permanent Resident<br>
<INPUT TYPE="RADIO" NAME="residency" value="Non-Resident">
Non-Resident<br>
<INPUT TYPE="SUBMIT" VALUE="Submit"/>
</FORM>
</BODY>
</HTML>
